package com.szml.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName operation_record
 */
@TableName(value ="operation_record")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OperationRecord implements Serializable {
    /**
     * 操作记录id
     */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long operationId;

    /**
     * 外键）商品id
     */
    private Long productId;

    /**
     * 操作记录状态
     */
    private String status;

    /**
     * 操作时间
     */
    private LocalDateTime operateTime;

    /**
     * 操作人名称
     */
    private String operator;

    /**
     * 备注
     */
    private String remark;

}